//
// Created by wkm on 2023-12-06.
//

#ifndef MYSYSTEMCLEARNING_CASE_EX_H
#define MYSYSTEMCLEARNING_CASE_EX_H

#include "systemc.h"

enum week_day {
    sunday, monday, tuesday, wednesday, thursday, friday, saturday
};
const int OUT_SIZE = 2;

SC_MODULE(case_ex) {
    sc_in<week_day> day_of_week;
    sc_out<sc_uint<OUT_SIZE>> sleep_time;

    void prc_case_ex();

    SC_CTOR(case_ex) {
        SC_METHOD(prc_case_ex);
        sensitive << day_of_week;
    }
};

#endif //MYSYSTEMCLEARNING_CASE_EX_H
